package com.gitee.zw.rule.service;

import com.gitee.zw.rule.vo.RuleContent;
import com.gitee.zw.rule.vo.RuleDomain;

import java.util.List;

public interface RuleDomainService {
    void addOrUpdateDroolsRule(RuleContent droolsRule);

    void deleteDroolsRule(String code);

    List<RuleContent> getActiveRules();

    List<RuleContent> getAllRules();

    List<RuleDomain> getAllDomain();

    RuleContent getRuleContent(String code);
}
